﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace TodoApp.TMS_Basics
{
    /// <summary>
    /// 车辆管理-黄启轩
    /// </summary>
    public class TMS_VehicleModel : BasicAggregateRoot<Guid>
    {

        [Required(ErrorMessage ="厂牌型号不可为空")]
        public string V_model { get; set; }//厂牌型号

        [Required(ErrorMessage = "车牌号不可为空")]
        public string V_licenseplate { get; set; }//车牌号

        [Required(ErrorMessage = "司机姓名不可为空")]
        public string V_drivere { get; set; }//司机姓名

        [Required(ErrorMessage = "所属公司不可为空")]
        public string V_company { get; set; }//所属公司

        [Required(ErrorMessage = "车型不可为空")]
        public string V_lon { get; set; }//长
        [Required(ErrorMessage = "车型不可为空")]
        public string V_width{ get; set; }//宽
        [Required(ErrorMessage = "车型不可为空")]
        public string V_hight { get; set; }//高
        [Required(ErrorMessage = "颜色不可为空")]
        public string V_color { get; set; }//颜色
        [Required(ErrorMessage = "购车日期不可为空")]
        public DateTime V_titem { get; set; }//购车日期

        public string V_ynumber { get; set; }//运营证
        public DateTime V_stime { get; set; }//保险到期
        public DateTime V_etime { get; set; }//年检到期
        public string V_km { get; set; }//保养公里数

    }
}
